<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>鸿福装修后台管理</title>
<%@ include file="/common/common.jsp" %>
<%@ include file="/common/taglib.jsp" %>    
<base href="<%=basePath %>">
<script type="text/javascript">
$(document).ready(function(){
	$("#logout").click(function(){
		logout();
	});
	function logout(){
		   $.ajax({
		            type:"POST",
		            url:"login/logout.html",
		            data:{},
		            datatype: "text",//"xml", "html", "script", "json", "jsonp", "text".
		            beforeSend:function(){},
		            //成功返回之后调用的函数             
		            success:function(data){
		            	window.location.reload();          
		            },
		            //调用执行(success方法)后调用的函数
		            complete: function(XMLHttpRequest, textStatus){
		            },
		            //调用出错执行的函数
		            error: function(){
		                //请求出错处理
		            }         
		         });
		  }
});

</script>
</head>
<body>
	<div class="container"> 
		<h2 class="bg-info">鸿福装修后台管理界面</h2>
		1、<a href="knowledge/knowledgeAddUI.html">装修常识新增</a><br>
		2、<a href="knowledge/knowledgeList.html">装修常识列表</a><br>
		<hr>
		3、<a href="rule/ruleAddUI.html">业务规则新增</a><br>
		4、<a href="rule/ruleList.html">业务规则列表</a><br>
		<hr>
		5、<a href="require/list.html">我要装修列表</a><br>
		<hr>
		6、<a href="case/addUI.html">新增装修案例</a><br>
		7、<a href="case/list.html">装修案例列表</a><br>
		<hr>
		8、<a href="infoSet/addUI.html">添加信息集</a><br>
		9、<a href="infoSet/list.html">信息集列表</a><br>
		<hr>
		9、<a href="user/list.html">用户管理</a><br>
		10、<a href="login/logout.html">注销</a>
	</div>
</body>
</html>
